package com.singlemusic.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Songs entity. @author MyEclipse Persistence Tools
 */

public class Songs implements java.io.Serializable {

	// Fields

	private String songid;
	private Tracks tracks;
	private String songname;
	private Integer duration;
	private Integer popularitydegree;
	private String tag;
	private Set songtolists = new HashSet(0);
	private Set songcommentses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Songs() {
	}

	/** minimal constructor */
	public Songs(String songid, Integer duration) {
		this.songid = songid;
		this.duration = duration;
	}

	/** full constructor */
	public Songs(String songid, Tracks tracks, String songname,
			Integer duration, Integer popularitydegree, String tag,
			Set songtolists, Set songcommentses) {
		this.songid = songid;
		this.tracks = tracks;
		this.songname = songname;
		this.duration = duration;
		this.popularitydegree = popularitydegree;
		this.tag = tag;
		this.songtolists = songtolists;
		this.songcommentses = songcommentses;
	}

	// Property accessors

	public String getSongid() {
		return this.songid;
	}

	public void setSongid(String songid) {
		this.songid = songid;
	}

	public Tracks getTracks() {
		return this.tracks;
	}

	public void setTracks(Tracks tracks) {
		this.tracks = tracks;
	}

	public String getSongname() {
		return this.songname;
	}

	public void setSongname(String songname) {
		this.songname = songname;
	}

	public Integer getDuration() {
		return this.duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public Integer getPopularitydegree() {
		return this.popularitydegree;
	}

	public void setPopularitydegree(Integer popularitydegree) {
		this.popularitydegree = popularitydegree;
	}

	public String getTag() {
		return this.tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public Set getSongtolists() {
		return this.songtolists;
	}

	public void setSongtolists(Set songtolists) {
		this.songtolists = songtolists;
	}

	public Set getSongcommentses() {
		return this.songcommentses;
	}

	public void setSongcommentses(Set songcommentses) {
		this.songcommentses = songcommentses;
	}

}